how to reset h3c console password

  1. install tftpd64.

  2. ready to recover

    reboot——ctrl+b——7——0

    dir
    copy startup.cfg startup_bak.cfg
    system-view
    local-user chenshi class manage
    password simple chenshi
    authorization-attribute user-role network-admin network-operator
    service-type telnet http https terminal
    
  3. start to recover

    interface vlan 1
    ip address 10.1.1.1 255.255.255.0
    quit
    quit
    tftp 10.1.1.2 put startup.cfg
    dis cu
    tftp 10.1.1.2 get startup.cfg
    reboot